const mongoose = require('mongoose');
const CbookingSchema = new mongoose.Schema({
    customer_name:{
        type:String,
        unique:false,
        required:true
    },
    member_id: {
        type: String,
        unique: true,
        required: true
    },
    employee_id:{
        type:String,
        unique:false,
        required:true
    },
    appointment_time:{
        type:Date,
        unique:true,
        required:true,
        default:Date.now()
    }
});
module.exports = mongoose.model('Cbookings', CbookingSchema);